Carbon


SndManagerStatus

Header: Sound.h Carbon status: Supported

Determines information about all sound channels currently allocated.

OSErr SndManagerStatus (
    SInt16 theLength, 
    SMStatusPtr theStatus
);
Parameter descriptions
theLength

The size in bytes of the Sound Manager status structure. You should set this field to SizeOf(SMStatus).

theStatus

A pointer to a Sound Manager status structure.

function result

A result code.

DISCUSSION

The SndManagerStatus function determines information about all currently allocated sound channels. If the SndManagerStatus function executes successfully, the fields of the structure specified by theStatus accurately describe the current status of the Sound Manager.

SPECIAL CONSIDERATIONS

You can call the SndManagerStatus function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)